package com.lagou.io;

import java.io.InputStream;

/**
 * @Description:加载配置文件为输入流
 * @author liujunling
 * @date 2020/3/31
 */
public class Resource {
    public static InputStream getResourceAsStream(String path) {
        return Resource.class.getClassLoader().getResourceAsStream(path);
    }
}
